package cn.aishua.data;


public class FavoriteItem
//    implements Parcelable
{

    //    public static final Creator<FavoriteItem> CREATOR = new Creator<FavoriteItem>()
    //    {
    //
    //        public FavoriteItem createFromParcel( Parcel in )
    //        {
    //            int id = in.readInt();
    //            String vendorName = in.readString();
    //            String averagePrice = in.readString();
    //            String distance = in.readString();
    //            String tags = in.readString();
    //            String rebate = in.readString();
    //
    //            return new FavoriteItem( id, vendorName, averagePrice, distance, tags, rebate );
    //        }
    //
    //        public FavoriteItem[] newArray( int size )
    //        {
    //            return new FavoriteItem[size];
    //        }
    //    };

    private int id;
    private String vendorName;
    private String averagePrice;
    private String distance;
    private String tags;
    private String rebate; // in percentage
    private String picUrl;

    public FavoriteItem()
    {
    }

    public FavoriteItem(int id, String vendorName, String averagePrice, String distance, String tags, String rebate,
        String picUrl)
    {
//        super();
        this.id = id;
        this.vendorName = vendorName;
        this.averagePrice = averagePrice;
        this.distance = distance;
        this.tags = tags;
        this.rebate = rebate;
        this.picUrl = picUrl;
    }

//    public int describeContents()
//    {
//        return 0;
//    }
//
//    public void writeToParcel( Parcel out, int flags )
//    {
//        out.writeInt( id );
//        out.writeString( vendorName );
//        out.writeString( averagePrice );
//        out.writeString( distance );
//        out.writeString( tags );
//        out.writeString( rebate );
//    }

    public int getId()
    {
        return id;
    }

    public void setId( int id )
    {
        this.id = id;
    }

    public String getVendorName()
    {
        return vendorName;
    }

    public void setVendorName( String vendorName )
    {
        this.vendorName = vendorName;
    }

    public String getAveragePrice()
    {
        return averagePrice;
    }

    public void setAveragePrice( String averagePrice )
    {
        this.averagePrice = averagePrice;
    }

    public String getDistance()
    {
        return distance;
    }

    public void setDistance( String distance )
    {
        this.distance = distance;
    }

    public String getTags()
    {
        return tags;
    }

    public void setTags( String tags )
    {
        this.tags = tags;
    }

    public String getRebate()
    {
        return rebate;
    }

    public void setRebate( String rebate )
    {
        this.rebate = rebate;
    }

    public String getPicUrl()
    {
        return picUrl;
    }

    public void setPicUrl( String picUrl )
    {
        this.picUrl = picUrl;
    }

}
